﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IBLL
{
    public interface IWorkBll
    {
        /// <summary>
        /// 职员信息添加
        /// </summary>
        /// <param name="work">表名</param>
        /// <returns>返回受影响行数</returns>
        Task<int> Tian(Work work);
        /// <summary>
        /// 职员信息查询功能
        /// </summary>
        /// <param name="name">职员姓名</param>
        /// <param name="typess">职员类别</param>
        /// <returns></returns>
        IQueryable<Work> Xian(string? name,string? typess);
    }
}
